<!DOCTYPE html>

<html>
<head>
  <style>
    .box {
      height: 100px;
      width: 100px;
      margin: 50px;
      border: 1px solid black;
      text-align: center;
      padding: 20px;
      transition-duration: 10s;
      transition-timing-function: linear;
      transition-property: opacity;
	  opacity:1;
	  mix-blend-mode: difference;
    }
    
    .final {
      opacity: 0;
    }
  </style>
  <script src="../animations/resources/animation-test-helpers.js"></script>
  <script type="text/javascript">

    const expectedValues = [
      // [time, element-id, property, expected-value, tolerance]
      [0.5, 'box', 'mix-blend-mode', 'difference', 0],
    ];
  
    function setupTest()
    {
      document.getElementById('box').className = 'box final';
    }
  
    runTransitionTest(expectedValues, setupTest);
  </script>
</head>
<body>
Test to make sure that the blendmode property is properly propagated to shared styles
  <div id="box" class="box">BOX</div>
  <div id="result">
  </div>

</body>
</html>
